<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"
        crossorigin="anonymous">
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
          crossorigin="anonymous"></script>


</head>
<body>

<div class="container">

  <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
    <div class="container-fluid">
      <a class="navbar-brand" href="#">成绩查询网站</a>
      <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarScroll"
              aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
      </button>
      <div class="collapse navbar-collapse" id="navbarScroll">
        <ul class="navbar-nav me-auto my-2 my-lg-0 navbar-nav-scroll" style="--bs-scroll-height: 100px;">
          <li class="nav-item">
            <a class="nav-link active" aria-current="page" href="/">首页</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="/">查询成绩</a>
          </li>
        </ul>

      </div>
    </div>
  </nav>


  <div class="row">
    <div class="col">

    </div>
    <div class="col-10">
      <h4 style="margin: 20px auto;">输入学生姓名</h4>
      <div style="margin: 10px auto;">
        <form action="/" method="post">
          学生姓名：<input type="text" name="sname">
          <input type="submit" name="submit" class="btn btn-primary" value="查询">
        </form>
      </div>
      <h4>查询表格结果</h4>
      <div>
        {{ table | safe }}
      </div>
    </div>
    <div class="col">

    </div>
  </div>

</div>
</body>
</html>